Click any tag below to further narrow down your results
Links
@nikogrupen on X
This post describes applying the wake-sleep learning algorithm to long-horizon legal agents, where the agent works on tasks online and a review model writes reusable lessons offline. Tested on Harvey's Legal Agent Benchmark, the approach raised all-pass rates and cut cost per task by letting the agent retrieve only relevant lessons.
- Wake-sleep lifted the all-pass rate from 2.9% for a vanilla agent to 15.7% across 196 Corporate M&A and Capital Markets tasks, with the biggest gains in early cycles.
- Lessons written offline generalized to new matter types the agent never saw in training, not just familiar ones.
- Retrieving only task-relevant lessons halved cost per task while keeping rubric pass rates roughly the same.
@zodchiii on X
A post promotes a 15-page PDF from a senior Anthropic engineer describing a four-step memory loop for AI agents: write attempts, consolidate them into lessons, recall those lessons before new tasks, and apply them to avoid known dead ends. The author says this is how engineers now build agent loops in Claude Code.
- The loop runs Write, Consolidate, Recall, Apply: log every attempt and outcome, distill raw logs into a few reusable lessons instead of a transcript dump, then read those lessons before the next task.
- The claimed payoff is that the agent skips dead ends it already learned, including on problems it has never seen before.
- The post ties the method to Claude Code agent loops, though it gives no benchmarks or results to back the claim.